package com.yunang.oa.service.impl;

import com.yunang.oa.entity.OaDepartment;
import com.yunang.oa.mapper.OaDepartmentMapper;
import com.yunang.oa.service.OaDepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OaDepartmentServicempl implements OaDepartmentService {


    @Autowired
    private OaDepartmentMapper oaDepartmentMapper;


    @Override
    public List<OaDepartment> getDepartmentWithCharger() {

        List<OaDepartment> list = oaDepartmentMapper.getDepartmentWithCharger();
        return list;
    }
}
